package com.julian.builderPattern;

public class BuilderTest {
    public static void main(String[] args) {
        User user = new User.UserBuilder("王", "小二")
                .age(20)
                .phone("123456789")
                .address("亚特兰蒂斯大陆")
                .build();
        System.out.println(user);
    }
}
